﻿@using LM_Shop.Models.Auctions;
@model List<AuctionModel>

<script type="text/javascript" src="~/Scripts/jquery.dataTables.js"></script>


<div id="editorRows">

	<table cellpadding="0" cellspacing="0" border="0" class="display">
		<thead>
			<tr>
				<th>Id</th>
				<th>Title</th>
			</tr>
		</thead>
		<tbody>
			@foreach (var item in Model)
			{
				<tr>
					<td>@item.Id</td>
					<td>@item.Title</td>
                    <td>@Html.ActionLink("Details", "AuctionDetails", new { id = item.Id })</td>
				</tr>
			}
		</tbody>
	</table>

</div>
